<template>
	<view class="content" style="display: flex; flex-direction: column; flex: 1;">
		<button type="primary" @click="image" style="padding: 20upx; margin: 20upx; width: 100%;">相册</button>
		<button type="primary" @click="map" style="padding: 20upx; margin: 20upx; width: 100%;">定位</button>
		<button type="primary" @click="speech" style="padding: 20upx; margin: 20upx; width: 100%;">语音</button>
		<button type="primary" @click="vedio" style="padding: 20upx; margin: 20upx; width: 100%;">录屏</button>
		<button type="primary" @click="voice" style="padding: 20upx; margin: 20upx; width: 100%;">录音</button>
		<button type="primary" @click="push" style="padding: 20upx; margin: 20upx; width: 100%;">推送</button>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			};
		},
		methods:{
			vedio(){
				uni.navigateTo({
					url: '../vedio/vedio',
					success: res => {},
					fail: () => {
						console.log("失败");
					},
					complete: () => {}
				});
			},
			voice:function(){
				uni.navigateTo({
					url: '../voice/voice',
					success: res => {},
					fail: () => {
						console.log("失败");
					},
					complete: () => {}
				});
			},
			image:function(){
				uni.navigateTo({
					url: '../image/image',
					success: res => {},
					fail: () => {
						console.log("失败");
					},
					complete: () => {}
				});
			},
			map:function(){
				uni.navigateTo({
					url: '../map/map',
					success: res => {},
					fail: () => {
						console.log("失败");
					},
					complete: () => {}
				});
			},
			speech:function(){
				uni.navigateTo({
					url: '../speech/speech',
					success: res => {},
					fail: () => {
						console.log("失败");
					},
					complete: () => {}
				});
			},
			push:function(){
				uni.navigateTo({
					url: '../push/push',
					success: res => {},
					fail: () => {
						console.log("失败");
					},
					complete: () => {}
				});
			}
		}
	}
</script>

<style>
	.content {
		flex: 1;
		justify-content: center;
		align-items: center;
	}

	.title {
		font-size: 36upx;
		color: #8f8f94;
	}
</style>
